import request from '@/utils/request'

// 基地列表
export function houseLists(params?: Record<string, any>) {
    return request.get({ url: '/house/list', params })
}

// 基地详情
export function houseDetail(params: Record<string, any>) {
    return request.get({ url: '/house/detail', params })
}

// 基地新增
export function houseAdd(params: Record<string, any>) {
    return request.post({ url: '/house/add', params })
}

// 基地编辑
export function houseEdit(params: Record<string, any>) {
    return request.post({ url: '/house/edit', params })
}

// 基地删除
export function houseDelete(params: Record<string, any>) {
    return request.post({ url: '/house/del', params })
}
